<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class ProceedList extends Model
{
    use HasDateTimeFormatter;

    protected $fillable = ['order_number', 'user_id', 'order_id', 'status'];
    protected $table = 'proceed_lists';

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function order()
    {
        return $this->belongsTo(Order::class);
    }
}
